//
//  HQRCDataSource.h
//  Trip
//
//  Created by ISU1 on 16/3/15.
//  Copyright © 2016年 HQ. All rights reserved.
// 融云的数据源代理

#import <Foundation/Foundation.h>

#define RCDDataSource [HQRCDataSource shareInstance]

@interface HQRCDataSource : NSObject<RCIMUserInfoDataSource,RCIMGroupInfoDataSource,RCIMGroupUserInfoDataSource>
+ (HQRCDataSource*) shareInstance;

/**
 *  从服务器同步好友列表
 */

- (void)syncFriendListWithUid:(NSString*)uid
                        token:(NSString*)token
                     keyWords:(NSString*)keyWords
                     pageSize:(NSInteger)pageSize
                      pageNum:(NSInteger)pageNum
                     complete:(void (^)(NSMutableArray* friends))completion;

@end
